package org.docshare.zhuishu;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.Window;

public class LogoActivity extends Activity implements Runnable {

    private static final long SPLASH_DISPLAY_LENGHT = 1000*1 ;
    private static final String TAG = "LogoActivity";
    
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_logo);

        new Handler().postDelayed(this,SPLASH_DISPLAY_LENGHT);
    }

    @Override
    public void run() {
        Log.i(TAG, "run: start main ");
        Intent intent = new Intent(this,MainAcitivity.class);
        startActivity(intent);
        
        finish();
    }
}
